home *** CD-ROM | disk | FTP | other *** search
/ AppleScript - The Beta Release / AppleScript - The Beta Release.iso / Development Tools / Sample Applications / 7Edit 3.0d7 / 7Edit Source / 7Edit Pascal 3.0d7 / SVEdit.r < prev    next >
Encoding:
Text File  |  1992-12-03  |  39.7 KB  |  1,764 lines  |  [TEXT/MPS ]

  1.  
  2. #define mApple  128
  3. #define mFile   129
  4. #define mEdit   130
  5. #define mFont   131
  6. #define mSize   132
  7. #define mStyle  133
  8.  
  9. #define kPrefSize    500
  10. #define kMinSize    500
  11.  
  12.  
  13. #include "Types.r"
  14. #include "SysTypes.r"
  15. #include "BalloonTypes.r"
  16. #include "SVEditPict.r"
  17. #include "AEUserTermTypes.r"
  18. #include "AERegistry.r"
  19. #include "AEObjects.r"
  20.  
  21. resource 'vers' (1) {
  22.     0x03, 0x00, development, 0x07,
  23.     verBritain,
  24.     "3.0d7",
  25.     "3.0d7, UK Developer Technical Support, 1992"
  26. };
  27.  
  28. resource 'ICN#' (129) {
  29.     {    /* array: 2 elements */
  30.         /* [1] */
  31.         $"0FFF FE00 0800 0300 0800 0280 0BDD BA40"
  32.         $"0800 0220 0B7B DA10 0800 03F8 09FF F808"
  33.         $"09FF F008 0BFF F7A8 0B00 3008 0ABB 66E8"
  34.         $"0C00 6008 0BEE 6DA8 0800 C008 0BDC DD68"
  35.         $"0801 C008 0AED 96E8 0801 8008 0BBB B768"
  36.         $"0803 0008 0BB3 76E8 0807 0008 0B76 6F68"
  37.         $"0806 0008 0AEC DDE8 080C 0008 0BAD 7768"
  38.         $"0818 0008 0B9B DDA8 0838 0008 0FFF FFF8",
  39.         /* [2] */
  40.         $"0FFF FE00 0FFF FF00 0FFF FF80 0FFF FFC0"
  41.         $"0FFF FFE0 0FFF FFF0 0FFF FFF8 0FFF FFF8"
  42.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  43.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  44.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  45.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  46.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  47.         $"0FFF FFF8 0FFF FFF8 0FFF FFF8 0FFF FFF8"
  48.     }
  49. };
  50.  
  51. resource 'ICN#' (128) {
  52.     {    /* array: 2 elements */
  53.         /* [1] */
  54.         $"1FFF FC00 3000 0400 2000 0C00 6000 0800"
  55.         $"47FF 8800 5C01 9800 D001 1000 B001 1000"
  56.         $"E003 3000 0002 2000 0002 2000 0006 6000"
  57.         $"0004 4000 000C 4000 0008 C000 0008 8000"
  58.         $"0018 FE00 0010 8100 0011 0080 0032 6040"
  59.         $"0023 9020 001C FF1E 0024 600E 0046 000E"
  60.         $"0005 000E 004C C00E 0088 3FCE 0008 003E"
  61.         $"0098 000E 0110 0000 0010 0000 01F0",
  62.         /* [2] */
  63.         $"1FFF FC00 3FFF FC00 3FFF FC00 7FFF F800"
  64.         $"7FFF F800 7C01 F800 F001 F000 F001 F000"
  65.         $"E003 F000 0003 E000 0003 E000 0007 E000"
  66.         $"0007 C000 000F C000 000F C000 000F 8000"
  67.         $"001F FE00 001F FF00 001F FF80 003F FFC0"
  68.         $"003F FFE0 003F FFFE 007F FFFE 007F FFFE"
  69.         $"007D FFFE 00FC FFFE 00F8 3FFE 00F8 003E"
  70.         $"01F8 000E 01F0 0000 01F0 0000 01F0"
  71.     }
  72. };
  73.  
  74. resource 'ics#' (128) {
  75.     {    /* array: 2 elements */
  76.         /* [1] */
  77.         $"3FC0 7FC0 80C0 0180 0180 0180 0300 0300"
  78.         $"0300 0738 0644 0DB3 0C43 0C3F 1803 18",
  79.         /* [2] */
  80.         $"3FC0 7FC0 80C0 0180 0180 0180 0300 0300"
  81.         $"0300 0738 067C 0DFF 0C7F 0C3F 1803 18"
  82.     }
  83. };
  84.  
  85. resource 'ics#' (129) {
  86.     {    /* array: 2 elements */
  87.         /* [1] */
  88.         $"3FF0 2018 2014 2FFE 2FE2 302A 2022 2D4A"
  89.         $"2042 2A9A 2082 2D2A 2102 2A7A 2202 3FFE",
  90.         /* [2] */
  91.         $"3FF0 3FF8 3FFC 3FFE 3FFE 3FFE 3FFE 3FFE"
  92.         $"3FFE 3FFE 3FFE 3FFE 3FFE 3FFE 3FFE 3FFE"
  93.     }
  94. };
  95.  
  96. resource 'icl8' (128) {
  97.     $"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF"
  98.     $"FFFF FFFF FFFF 0000 0000 0000 0000 0000"
  99.     $"0000 FFFF ECEC ECEC ECEC ECEC ECEC ECEC"
  100.     $"ECEC ECEC ECFF 0000 0000 0000 0000 0000"
  101.     $"0000 FFEC ECEC ECEC ECEC ECEC ECEC ECEC"
  102.     $"ECEC ECEC FFFF 0000 0000 0000 0000 0000"
  103.     $"00FF FFEC ECEC ECEC ECEC ECEC ECEC ECEC"
  104.     $"ECEC ECEC FF00 0000 0000 0000 0000 0000"
  105.     $"00FF ECEC ECFF FFFF FFFF FFFF FFFF FFFF"
  106.     $"FFEC ECEC FF00 0000 0000 0000 0000 0000"
  107.     $"00FF ECFF FFFF 0000 0000 0000 0000 00FF"
  108.     $"FFEC ECFF FF00 0000 0000 0000 0000 0000"
  109.     $"FFFF ECFF 0000 0000 0000 0000 0000 00FF"
  110.     $"ECEC ECFF 0000 0000 0000 0000 0000 0000"
  111.     $"FFEC FFFF 0000 0000 0000 0000 0000 00FF"
  112.     $"ECEC ECFF 0000 0000 0000 0000 0000 0000"
  113.     $"FFFF FF00 0000 0000 0000 0000 0000 FFFF"
  114.     $"ECEC FFFF 0000 0000 0000 0000 0000 0000"
  115.     $"0000 0000 0000 0000 0000 0000 0000 FFEC"
  116.     $"ECEC FF00 0000 0000 0000 0000 0000 0000"
  117.     $"0000 0000 0000 0000 0000 0000 0000 FFEC"
  118.     $"ECEC FF00 0000 0000 0000 0000 0000 0000"
  119.     $"0000 0000 0000 0000 0000 0000 00FF FFEC"
  120.     $"ECFF FF00 0000 0000 0000 0000 0000 0000"
  121.     $"0000 0000 0000 0000 0000 0000 00FF ECEC"
  122.     $"ECFF 0000 0000 0000 0000 0000 0000 0000"
  123.     $"0000 0000 0000 0000 0000 0000 FFFF ECEC"
  124.     $"ECFF 0000 0000 0000 0000 0000 0000 0000"
  125.     $"0000 0000 0000 0000 0000 0000 FFEC ECEC"
  126.     $"FFFF 0000 0000 0000 0000 0000 0000 0000"
  127.     $"0000 0000 0000 0000 0000 0000 FFEC ECEC"
  128.     $"FF00 0000 0000 0000 0000 0000 0000 0000"
  129.     $"0000 0000 0000 0000 0000 00FF FFEC ECEC"
  130.     $"FFFF FFFF FFFF FF00 0000 0000 0000 0000"
  131.     $"0000 0000 0000 0000 0000 00FF ECEC ECEC"
  132.     $"FF33 3333 3333 33FF 0000 0000 0000 0000"
  133.     $"0000 0000 0000 0000 0000 00FF ECEC ECFF"
  134.     $"3333 3333 3333 3333 FF00 0000 0000 0000"
  135.     $"0000 0000 0000 0000 0000 FFFF ECEC FF33"
  136.     $"33FF FF33 3333 3333 33FF 0000 0000 0000"
  137.     $"0000 0000 0000 0000 0000 FFEC ECEC FFFF"
  138.     $"FF00 00FF 3333 3333 3333 FF00 0000 0000"
  139.     $"0000 0000 0000 0000 0000 F8FF FFFF 3333"
  140.     $"FFFF FFFF FFFF FFFF 3333 33FF FFFF FF00"
  141.     $"0000 0000 0000 0000 00F8 F87F 7FFF 3333"
  142.     $"33FF FF33 3333 3333 3333 3333 FFFF FF00"
  143.     $"0000 0000 0000 0000 00F8 7F7F 7FFF FF33"
  144.     $"3333 3333 3333 3333 3333 3333 FFFF FF00"
  145.     $"0000 0000 0000 0000 00F8 7F7F 7FFF 00FF"
  146.     $"3333 3333 3333 3333 3333 3333 FFFF FF00"
  147.     $"0000 0000 0000 0000 F8F8 7F54 FFFF 0000"
  148.     $"FFFF 3333 3333 3333 3333 3333 FFFF FF00"
  149.     $"0000 0000 0000 0000 F854 5454 FF00 0000"
  150.     $"0000 FFFF FFFF FFFF FFFF 3333 FFFF FF00"
  151.     $"0000 0000 0000 0000 F854 5454 FF00 0000"
  152.     $"0000 0000 0000 0000 0000 FFFF FFFF FF00"
  153.     $"0000 0000 0000 00F8 F854 2AFF FF00 0000"
  154.     $"0000 0000 0000 0000 0000 0000 FFFF FF00"
  155.     $"0000 0000 0000 00F8 2A2A 2AFF 0000 0000"
  156.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  157.     $"0000 0000 0000 00F8 2A2A 2AFF 0000 0000"
  158.     $"0000 0000 0000 0000 0000 0000 0000 0000"
  159.     $"0000 0000 0000 00FF FFFF FFFF"
  160. };
  161.  
  162. resource 'icl8' (129) {
  163.     $"0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF"
  164.     $"FFFF FFFF FFFF FF00 0000 0000 0000 0000"
  165.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  166.     $"0000 0000 0000 FFFF 0000 0000 0000 0000"
  167.     $"0000 0000 FF00 D8D8 00D8 D8D8 00D8 D800"
  168.     $"D800 00D8 D800 FF00 FF00 0000 0000 0000"
  169.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  170.     $"0000 0000 0000 FF00 00FF 0000 0000 0000"
  171.     $"0000 0000 FF00 D8D8 D8D8 00D8 D8D8 00D8"
  172.     $"D800 D8D8 D800 FF00 0000 FF00 0000 0000"
  173.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  174.     $"0000 0000 0000 FF00 0000 00FF 0000 0000"
  175.     $"0000 0000 FF00 D8D8 00D8 D8D8 D800 D8D8"
  176.     $"D8D8 00D8 D800 FFFF FFFF FFFF FF00 0000"
  177.     $"0000 0000 FF00 00EC ECEC ECEC ECEC ECEC"
  178.     $"ECEC ECEC EC00 D8D8 D800 D800 FF00 0000"
  179.     $"0000 0000 FF00 00EC ECEC ECEC ECEC ECEC"
  180.     $"ECEC ECEC 0000 0000 0000 0000 FF00 0000"
  181.     $"0000 0000 FF00 ECEC ECEC ECEC ECEC ECEC"
  182.     $"ECEC ECEC 00D8 D8D8 D800 D800 FF00 0000"
  183.     $"0000 0000 FF00 ECEC 0000 0000 0000 0000"
  184.     $"0000 ECEC 0000 0000 0000 0000 FF00 0000"
  185.     $"0000 0000 FF00 EC00 D800 D8D8 D800 D8D8"
  186.     $"00EC EC00 00D8 D800 D8D8 D800 FF00 0000"
  187.     $"0000 0000 FFEC 0000 0000 0000 0000 0000"
  188.     $"00EC EC00 0000 0000 0000 0000 FF00 0000"
  189.     $"0000 0000 FF00 D8D8 D8D8 D800 D8D8 D800"
  190.     $"00EC EC00 D8D8 00D8 D800 D800 FF00 0000"
  191.     $"0000 0000 FF00 0000 0000 0000 0000 0000"
  192.     $"ECEC 0000 0000 0000 0000 0000 FF00 0000"
  193.     $"0000 0000 FF00 D8D8 D8D8 00D8 D8D8 0000"
  194.     $"ECEC 00D8 D8D8 00D8 00D8 D800 FF00 0000"
  195.     $"0000 0000 FF00 0000 0000 0000 0000 00EC"
  196.     $"ECEC 0000 0000 0000 0000 0000 FF00 0000"
  197.     $"0000 0000 FF00 D800 D8D8 D800 D8D8 00EC"
  198.     $"EC00 00D8 00D8 D800 D8D8 D800 FF00 0000"
  199.     $"0000 0000 FF00 0000 0000 0000 0000 00EC"
  200.     $"EC00 0000 0000 0000 0000 0000 FF00 0000"
  201.     $"0000 0000 FF00 D8D8 D800 D8D8 D800 ECEC"
  202.     $"EC00 D8D8 00D8 D8D8 00D8 D800 FF00 0000"
  203.     $"0000 0000 FF00 0000 0000 0000 0000 ECEC"
  204.     $"0000 0000 0000 0000 0000 0000 FF00 0000"
  205.     $"0000 0000 FF00 D8D8 D800 D8D8 0000 ECEC"
  206.     $"00D8 D8D8 00D8 D800 D8D8 D800 FF00 0000"
  207.     $"0000 0000 FF00 0000 0000 0000 00EC ECEC"
  208.     $"0000 0000 0000 0000 0000 0000 FF00 0000"
  209.     $"0000 0000 FF00 D8D8 00D8 D8D8 00EC EC00"
  210.     $"00D8 D800 D8D8 D8D8 00D8 D800 FF00 0000"
  211.     $"0000 0000 FF00 0000 0000 0000 00EC EC00"
  212.     $"0000 0000 0000 0000 0000 0000 FF00 0000"
  213.     $"0000 0000 FF00 D800 D8D8 D800 ECEC 0000"
  214.     $"D8D8 00D8 D8D8 00D8 D8D8 D800 FF00 0000"
  215.     $"0000 0000 FF00 0000 0000 0000 ECEC 0000"
  216.     $"0000 0000 0000 0000 0000 0000 FF00 0000"
  217.     $"0000 0000 FF00 D8D8 D800 D800 ECEC 00D8"
  218.     $"00D8 D8D8 00D8 D8D8 00D8 D800 FF00 0000"
  219.     $"0000 0000 FF00 0000 0000 00EC EC00 0000"
  220.     $"0000 0000 0000 0000 0000 0000 FF00 0000"
  221.     $"0000 0000 FF00 D8D8 D800 00EC EC00 D8D8"
  222.     $"D8D8 00D8 D8D8 00D8 D800 D800 FF00 0000"
  223.     $"0000 0000 FF00 0000 0000 ECEC EC00 0000"
  224.     $"0000 0000 0000 0000 0000 0000 FF00 0000"
  225.     $"0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF"
  226.     $"FFFF FFFF FFFF FFFF FFFF FFFF FF"
  227. };
  228.  
  229. resource 'icl4' (128) {
  230.     $"000F FFFF FFFF FFFF FFFF FF00 0000 0000"
  231.     $"00FF 6666 6666 6666 6666 6F00 0000 0000"
  232.     $"00F6 6666 6666 6666 6666 FF00 0000 0000"
  233.     $"0FF6 6666 6666 6666 6666 F000 0000 0000"
  234.     $"0F66 6FFF FFFF FFFF F666 F000 0000 0000"
  235.     $"0F6F FF00 0000 000F F66F F000 0000 0000"
  236.     $"FF6F 0000 0000 000F 666F 0000 0000 0000"
  237.     $"F6FF 0000 0000 000F 666F 0000 0000 0000"
  238.     $"FFF0 0000 0000 00FF 66FF 0000 0000 0000"
  239.     $"0000 0000 0000 00F6 66F0 0000 0000 0000"
  240.     $"0000 0000 0000 00F6 66F0 0000 0000 0000"
  241.     $"0000 0000 0000 0FF6 6FF0 0000 0000 0000"
  242.     $"0000 0000 0000 0F66 6F00 0000 0000 0000"
  243.     $"0000 0000 0000 FF66 6F00 0000 0000 0000"
  244.     $"0000 0000 0000 F666 FF00 0000 0000 0000"
  245.     $"0000 0000 0000 F666 F000 0000 0000 0000"
  246.     $"0000 0000 000F F666 FFFF FFF0 0000 0000"
  247.     $"0000 0000 000F 6666 FBBB BBBF 0000 0000"
  248.     $"0000 0000 000F 666F BBBB BBBB F000 0000"
  249.     $"0000 0000 00FF 66FB BFFB BBBB BF00 0000"
  250.     $"0000 0000 00F6 66FF F00F BBBB BBF0 0000"
  251.     $"0000 0000 00CF FFBB FFFF FFFF BBBF FFF0"
  252.     $"0000 0000 0CCD DFBB BFFB BBBB BBBB FFF0"
  253.     $"0000 0000 0CDD DFFB BBBB BBBB BBBB FFF0"
  254.     $"0000 0000 0CDD DF0F BBBB BBBB BBBB FFF0"
  255.     $"0000 0000 CCDC FF00 FFBB BBBB BBBB FFF0"
  256.     $"0000 0000 CDCD F000 00FF FFFF FFBB FFF0"
  257.     $"0000 0000 CCCC F000 0000 0000 00FF FFF0"
  258.     $"0000 000C CCCF F000 0000 0000 0000 FFF0"
  259.     $"0000 000C CCCF 0000 0000 0000 0000 0000"
  260.     $"0000 000C CCCF 0000 0000 0000 0000 0000"
  261.     $"0000 000F FFFF"
  262. };
  263.  
  264. resource 'icl4' (129) {
  265.     $"0000 FFFF FFFF FFFF FFFF FFF0 0000 0000"
  266.     $"0000 F000 0000 0000 0000 00FF 0000 0000"
  267.     $"0000 F000 0000 0000 0000 00F0 F000 0000"
  268.     $"0000 F033 3303 3303 3033 30F0 0F00 0000"
  269.     $"0000 F000 0000 0000 0000 00F0 00F0 0000"
  270.     $"0000 F033 0333 3033 3303 30F0 000F 0000"
  271.     $"0000 F000 0000 0000 0000 00FF FFFF F000"
  272.     $"0000 F006 6666 6666 6666 6000 0000 F000"
  273.     $"0000 F006 6666 6666 6666 0000 0000 F000"
  274.     $"0000 F066 6666 6666 6666 0333 3030 F000"
  275.     $"0000 F066 0000 0000 0066 0000 0000 F000"
  276.     $"0000 F060 3033 3033 0660 0330 3330 F000"
  277.     $"0000 F600 0000 0000 0660 0000 0000 F000"
  278.     $"0000 F033 3330 3330 0660 3303 3030 F000"
  279.     $"0000 F000 0000 0000 6600 0000 0000 F000"
  280.     $"0000 F033 3303 3300 6603 3303 0330 F000"
  281.     $"0000 F000 0000 0006 6600 0000 0000 F000"
  282.     $"0000 F030 3330 3306 6003 0330 3330 F000"
  283.     $"0000 F000 0000 0006 6000 0000 0000 F000"
  284.     $"0000 F033 3033 3066 6033 0333 0330 F000"
  285.     $"0000 F000 0000 0066 0000 0000 0000 F000"
  286.     $"0000 F033 3033 0066 0333 0330 3330 F000"
  287.     $"0000 F000 0000 0666 0000 0000 0000 F000"
  288.     $"0000 F033 0333 0660 0330 3333 0330 F000"
  289.     $"0000 F000 0000 0660 0000 0000 0000 F000"
  290.     $"0000 F030 3330 6600 3303 3303 3330 F000"
  291.     $"0000 F000 0000 6600 0000 0000 0000 F000"
  292.     $"0000 F033 3030 6603 0333 0333 0330 F000"
  293.     $"0000 F000 0006 6000 0000 0000 0000 F000"
  294.     $"0000 F033 3006 6033 3303 3303 3030 F000"
  295.     $"0000 F000 0066 6000 0000 0000 0000 F000"
  296.     $"0000 FFFF FFFF FFFF FFFF FFFF FFFF F0"
  297. };
  298.  
  299. resource 'ics8' (128) {
  300.     $"0000 ECEC ECEC ECEC ECEC 0000 0000 0000"
  301.     $"00EC ECEC ECEC ECEC ECEC 0000 0000 0000"
  302.     $"EC00 0000 0000 0000 ECEC 0000 0000 0000"
  303.     $"0000 0000 0000 00EC EC00 0000 0000 0000"
  304.     $"0000 0000 0000 00EC EC00 0000 0000 0000"
  305.     $"0000 0000 0000 00EC EC00 0000 0000 0000"
  306.     $"0000 0000 0000 ECEC 0000 0000 0000 0000"
  307.     $"0000 0000 0000 ECEC 0000 0000 0000 0000"
  308.     $"0000 0000 0000 ECEC 0000 0000 0000 0000"
  309.     $"0000 0000 00EC ECEC 0000 FFFF FF00 0000"
  310.     $"0000 0000 00EC EC00 00FF 3333 33FF 0000"
  311.     $"0000 0000 ECEC 00FF FF33 FFFF 3333 FFFF"
  312.     $"0000 0000 ECEC 0000 00FF 3333 3333 FFFF"
  313.     $"0000 0000 ECEC 0000 0000 FFFF FFFF FFFF"
  314.     $"0000 00EC EC00 0000 0000 0000 0000 FFFF"
  315.     $"0000 00EC EC"
  316. };
  317.  
  318. resource 'ics8' (129) {
  319.     $"0000 FFFF FFFF FFFF FFFF FFFF 0000 0000"
  320.     $"0000 FF00 0000 0000 0000 00FF FF00 0000"
  321.     $"0000 FF00 0000 0000 0000 00FF 00FF 0000"
  322.     $"0000 FF00 ECEC ECEC ECEC ECFF FFFF FF00"
  323.     $"0000 FF00 ECEC ECEC ECEC EC00 0000 FF00"
  324.     $"0000 FFEC 00D8 00D8 00D8 EC00 D800 FF00"
  325.     $"0000 FF00 0000 0000 0000 EC00 0000 FF00"
  326.     $"0000 FF00 D8D8 00D8 00EC 0000 D800 FF00"
  327.     $"0000 FF00 0000 0000 00EC 0000 0000 FF00"
  328.     $"0000 FF00 D800 D800 EC00 00D8 D800 FF00"
  329.     $"0000 FF00 0000 0000 EC00 0000 0000 FF00"
  330.     $"0000 FF00 D8D8 00EC 0000 D800 D800 FF00"
  331.     $"0000 FF00 0000 00EC 0000 0000 0000 FF00"
  332.     $"0000 FF00 D800 EC00 00D8 D8D8 D800 FF00"
  333.     $"0000 FF00 0000 EC00 0000 0000 0000 FF00"
  334.     $"0000 FFFF FFFF FFFF FFFF FFFF FFFF FF"
  335. };
  336.  
  337. resource 'ics4' (128) {
  338.     $"0066 6666 6600 0000 0666 6666 6600 0000"
  339.     $"6000 0000 6600 0000 0000 0006 6000 0000"
  340.     $"0000 0006 6000 0000 0000 0006 6000 0000"
  341.     $"0000 0066 0000 0000 0000 0066 0000 0000"
  342.     $"0000 0066 0000 0000 0000 0666 00FF F000"
  343.     $"0000 0660 0FBB BF00 0000 660F FBFF BBFF"
  344.     $"0000 6600 0FBB BBFF 0000 6600 00FF FFFF"
  345.     $"0006 6000 0000 00FF 0006 60"
  346. };
  347.  
  348. resource 'ics4' (129) {
  349.     $"00FF FFFF FFFF 0000 00F0 0000 000F F000"
  350.     $"00F0 0000 000F 0F00 00F0 6666 666F FFF0"
  351.     $"00F0 6666 6660 00F0 00F6 0303 0360 30F0"
  352.     $"00F0 0000 0060 00F0 00F0 3303 0600 30F0"
  353.     $"00F0 0000 0600 00F0 00F0 3030 6003 30F0"
  354.     $"00F0 0000 6000 00F0 00F0 3306 0030 30F0"
  355.     $"00F0 0006 0000 00F0 00F0 3060 0333 30F0"
  356.     $"00F0 0060 0000 00F0 00FF FFFF FFFF FFF0"
  357. };
  358.  
  359.  
  360. resource 'FREF' (130, purgeable) {
  361.     'APPL',
  362.     0,
  363.     ""
  364. };
  365.  
  366. resource 'FREF' (131, purgeable) {
  367.     'TEXT',
  368.     1,
  369.     ""
  370. };
  371.  
  372. resource 'BNDL' (132, purgeable) {
  373.     'SVED',
  374.     0,
  375.     {    /* array TypeArray: 2 elements */
  376.         /* [1] */
  377.         'ICN#',
  378.         {    /* array IDArray: 2 elements */
  379.             /* [1] */
  380.             0, 128,
  381.             /* [2] */
  382.             1, 129
  383.         },
  384.         /* [2] */
  385.         'FREF',
  386.         {    /* array IDArray: 2 elements */
  387.             /* [1] */
  388.             2, 130,
  389.             /* [2] */
  390.             3, 131
  391.         }
  392.     }
  393. };
  394.  
  395. data 'SVED' (0) {
  396.     $"1937 4564 6974 2065 7861 6D70 6C65 2066"            /* .7Edit example f */
  397.     $"726F 6D20 554B 2E44 5453"                           /* rom UK.DTS */
  398. };
  399.  
  400. resource 'SIZE' (-1) {
  401.     dontSaveScreen,
  402.     acceptSuspendResumeEvents,
  403.     enableOptionSwitch,
  404.     canBackground,                
  405.     multiFinderAware,            
  406.     backgroundAndForeground,    
  407.     dontGetFrontClicks,            
  408.     ignoreChildDiedEvents,        
  409.     not32BitCompatible,            
  410.     isHighLevelEventAware,        
  411.     localAndRemoteHLEvents,        
  412.     reserved,
  413.     reserved,
  414.     reserved,
  415.     reserved,
  416.     reserved,
  417.     kPrefSize * 2000,
  418.     kMinSize * 2000    
  419. };
  420.  
  421.  
  422. resource 'WIND' (128, "", purgeable) {
  423.     {18, 48, 282, 408},
  424.     zoomDocProc,
  425.     invisible,
  426.     goAway,
  427.     0x0,
  428.     Untitled
  429. };
  430.  
  431. resource 'ALRT' (257, "", purgeable) {
  432.     {60, 96, 208, 424},
  433.     6692,
  434.     {    /* array: 4 elements */
  435.         /* [1] */
  436.         OK, visible, silent,
  437.         /* [2] */
  438.         OK, visible, silent,
  439.         /* [3] */
  440.         OK, visible, silent,
  441.         /* [4] */
  442.         OK, visible, silent
  443.     }
  444. };
  445.  
  446. resource 'ALRT' (256, "", purgeable) {
  447.     {82, 104, 182, 366},
  448.     12117,
  449.     {    /* array: 4 elements */
  450.         /* [1] */
  451.         OK, visible, silent,
  452.         /* [2] */
  453.         OK, visible, silent,
  454.         /* [3] */
  455.         OK, visible, silent,
  456.         /* [4] */
  457.         OK, visible, silent
  458.     }
  459. };
  460.  
  461. resource 'DITL' (258, purgeable) {
  462.     {    /* array DITLarray: 2 elements */
  463.         /* [1] */
  464.         {149, 197, 169, 257},
  465.         Button {
  466.             enabled,
  467.             "OK"
  468.         },
  469.         /* [2] */
  470.         {8, 9, 141, 199},
  471.         Picture {
  472.             disabled,
  473.             128
  474.         }
  475.     }
  476. };
  477.  
  478.  
  479. resource 'ALRT' (258, purgeable) {
  480.     {60, 44, 240, 316},
  481.     258,
  482.     {    /* array: 4 elements */
  483.         /* [1] */
  484.         OK, visible, silent,
  485.         /* [2] */
  486.         OK, visible, silent,
  487.         /* [3] */
  488.         OK, visible, silent,
  489.         /* [4] */
  490.         OK, visible, silent
  491.     }
  492. };
  493.  
  494.  
  495. resource 'ALRT' (259, "", purgeable) {
  496.     {72, 72, 200, 384},
  497.     259,
  498.     {    /* array: 4 elements */
  499.         /* [1] */
  500.         OK, visible, silent,
  501.         /* [2] */
  502.         OK, visible, silent,
  503.         /* [3] */
  504.         OK, visible, silent,
  505.         /* [4] */
  506.         OK, visible, silent
  507.     }
  508. };
  509.  
  510. resource 'ALRT' (260, "", purgeable) {
  511.     {72, 72, 200, 384},
  512.     260,
  513.     {    /* array: 4 elements */
  514.         /* [1] */
  515.         OK, visible, silent,
  516.         /* [2] */
  517.         OK, visible, silent,
  518.         /* [3] */
  519.         OK, visible, silent,
  520.         /* [4] */
  521.         OK, visible, silent
  522.     }
  523. };
  524.  
  525. resource 'DITL' (6692, "", purgeable) {
  526.     {    /* array DITLarray: 5 elements */
  527.         /* [1] */
  528.         {82, 55, 106, 119},
  529.         Button {
  530.             enabled,
  531.             "Yes"
  532.         },
  533.         /* [2] */
  534.         {115, 55, 139, 119},
  535.         Button {
  536.             enabled,
  537.             "No"
  538.         },
  539.         /* [3] */
  540.         {116, 138, 140, 194},
  541.         Button {
  542.             enabled,
  543.             "Cancel"
  544.         },
  545.         /* [4] */
  546.         {8, 53, 77, 289},
  547.         StaticText {
  548.             enabled,
  549.             "^0^1^2^3"
  550.         },
  551.         /* [5] */
  552.         {9, 10, 41, 42},
  553.         Icon {
  554.             enabled,
  555.             1
  556.         }
  557.     }
  558. };
  559.  
  560. resource 'DITL' (12117, "", purgeable) {
  561.     {    /* array DITLarray: 3 elements */
  562.         /* [1] */
  563.         {68, 180, 88, 240},
  564.         Button {
  565.             enabled,
  566.             "OK"
  567.         },
  568.         /* [2] */
  569.         {9, 57, 56, 240},
  570.         StaticText {
  571.             enabled,
  572.             "^0^1^2^3"
  573.         },
  574.         /* [3] */
  575.         {9, 7, 41, 39},
  576.         Icon {
  577.             enabled,
  578.             1
  579.         }
  580.     }
  581. };
  582.  
  583.  
  584. resource 'ALRT' (261, "Apple Event resource", purgeable) {
  585.     {56, 62, 202, 430},
  586.     261,
  587.     {    /* array: 4 elements */
  588.         /* [1] */
  589.         OK, visible, sound1,
  590.         /* [2] */
  591.         OK, visible, sound1,
  592.         /* [3] */
  593.         OK, visible, sound1,
  594.         /* [4] */
  595.         OK, visible, sound1
  596.     }
  597. };
  598.  
  599. resource 'DITL' (261, "", purgeable) {
  600.     {    /* array DITLarray: 2 elements */
  601.         /* [1] */
  602.         {116, 281, 136, 341},
  603.         Button {
  604.             enabled,
  605.             "OK"
  606.         },
  607.         /* [2] */
  608.         {19, 18, 120, 229},
  609.         StaticText {
  610.             enabled,
  611.             "^0"
  612.         }
  613.     }
  614. };
  615.  
  616. resource 'ALRT' (300, "Error Alert", purgeable) {
  617.     {108, 158, 238, 476},
  618.     300,
  619.     {    /* array: 4 elements */
  620.         /* [1] */
  621.         OK, visible, sound1,
  622.         /* [2] */
  623.         OK, visible, sound1,
  624.         /* [3] */
  625.         OK, visible, sound1,
  626.         /* [4] */
  627.         OK, visible, sound1
  628.     }
  629. };
  630.  
  631. resource 'DITL' (300, "", purgeable) {
  632.     {    /* array DITLarray: 3 elements */
  633.         /* [1] */
  634.         {98, 227, 119, 292},
  635.         Button {
  636.             enabled,
  637.             "Oh well"
  638.         },
  639.         /* [2] */
  640.         {9, 63, 89, 294},
  641.         StaticText {
  642.             enabled,
  643.             "Sorry an error has occured in the area o"
  644.             "f ^0. \nThe error code = ^1\n(^2)"
  645.         },
  646.         /* [3] */
  647.         {10, 11, 42, 43},
  648.         Icon {
  649.             enabled,
  650.             0
  651.         }
  652.     }
  653. };
  654.  
  655. resource 'DITL' (1004, "", purgeable) {
  656.     {    /* array DITLarray: 5 elements */
  657.         /* [1] */
  658.         {65, 152, 85, 212},
  659.         Button {
  660.             enabled,
  661.             "OK"
  662.         },
  663.         /* [2] */
  664.         {65, 79, 85, 139},
  665.         Button {
  666.             enabled,
  667.             "Cancel"
  668.         },
  669.         /* [3] */
  670.         {10, 14, 31, 94},
  671.         StaticText {
  672.             disabled,
  673.             "Point Size:"
  674.         },
  675.         /* [4] */
  676.         {12, 115, 32, 178},
  677.         EditText {
  678.             enabled,
  679.             "12"
  680.         },
  681.         /* [5] */
  682.         {65, 152, 85, 212},
  683.         UserItem {
  684.             disabled
  685.         },
  686.     }
  687. };
  688.  
  689. resource 'DLOG' (1004, "", purgeable) {
  690.     {90, 134, 186, 364},
  691.     dBoxProc,
  692.     visible,
  693.     noGoAway,
  694.     0x0,
  695.     1004,
  696.     "Other Size Dialog"
  697. };
  698.  
  699. resource 'DLOG' (1005, "printing...", purgeable) {
  700.     {148, 157, 185, 354},
  701.     dBoxProc,
  702.     visible,
  703.     noGoAway,
  704.     0x0,
  705.     1005,
  706.     "printing…"
  707. };
  708.  
  709. resource 'DITL' (1005, "printing...", purgeable) {
  710.     {    /* array DITLarray: 1 elements */
  711.         /* [1] */
  712.         {10, 10, 27, 235},
  713.         StaticText {
  714.             disabled,
  715.             "Type \0x11. to cancel printing"
  716.         }
  717.     }
  718. };
  719.  
  720.  
  721. resource 'DITL' (302) {
  722.     {    /* array DITLarray: 3 elements */
  723.         /* [1] */
  724.         {108, 213, 128, 273},
  725.         Button {
  726.             enabled,
  727.             "OK"
  728.         },
  729.         /* [2] */
  730.         {11, 63, 79, 278},
  731.         StaticText {
  732.             disabled,
  733.             "7Edit requires System 7.0 or later to ru"
  734.             "n."
  735.         },
  736.         /* [3] */
  737.         {11, 12, 43, 44},
  738.         Icon {
  739.             enabled,
  740.             0
  741.         }
  742.     }
  743. };
  744.  
  745.  
  746. resource 'ALRT' (302, "7.0 Only Alert") {
  747.     {50, 60, 192, 350},
  748.     302,
  749.     {    /* array: 4 elements */
  750.         /* [1] */
  751.         OK, visible, sound1,
  752.         /* [2] */
  753.         OK, visible, sound1,
  754.         /* [3] */
  755.         OK, visible, sound1,
  756.         /* [4] */
  757.         OK, visible, sound1
  758.     }
  759. };
  760.  
  761.  
  762. resource 'MENU' (mFile) {
  763.     129,
  764.     textMenuProc,
  765.     0x7FFFFB7B,
  766.     enabled,
  767.     "File",
  768.     {    /* array: 12 elements */
  769.         /* [1] */
  770.         "New", noIcon, "N", noMark, plain,
  771.         /* [2] */
  772.         "Open…", noIcon, "O", noMark, plain,
  773.         /* [3] */
  774.         "-", noIcon, noKey, noMark, plain,
  775.         /* [4] */
  776.         "Close", noIcon, "W", noMark, plain,
  777.         /* [5] */
  778.         "Save", noIcon, "S", noMark, plain,
  779.         /* [6] */
  780.         "Save As…", noIcon, noKey, noMark, plain,
  781.         /* [7] */
  782.         "Revert", noIcon, noKey, noMark, plain,
  783.         /* [8] */
  784.         "-", noIcon, noKey, noMark, plain,
  785.         /* [9] */
  786.         "Page Setup…", noIcon, noKey, noMark, plain,
  787.         /* [10] */
  788.         "Print…", noIcon, "P", noMark, plain,
  789.         /* [11] */
  790.         "-", noIcon, noKey, noMark, plain,
  791.         /* [12] */
  792.         "Quit", noIcon, "Q", noMark, plain
  793.     }
  794. };
  795.  
  796. resource 'MENU' (mApple) {
  797.     128,
  798.     textMenuProc,
  799.     0x7FFFFFFD,
  800.     enabled,
  801.     apple,
  802.     {    /* array: 2 elements */
  803.         /* [1] */
  804.         "About 7Edit…", noIcon, noKey, noMark, plain,
  805.         /* [2] */
  806.         "-", noIcon, noKey, noMark, plain
  807.     }
  808. };
  809.  
  810. resource 'MENU' (mFont) {
  811.     131,
  812.     textMenuProc,
  813.     allEnabled,
  814.     enabled,
  815.     "Font",
  816.     {    /* array: 0 elements */
  817.     }
  818. };
  819.  
  820. resource 'MENU' (mEdit) {
  821.     130,
  822.     textMenuProc,
  823.     0b111101111101,
  824.     enabled,
  825.     "Edit",
  826.     {    /* array: 12 elements */
  827.         /* [1] */
  828.         "Undo", noIcon, "Z", noMark, plain,
  829.         /* [2] */
  830.         "-", noIcon, noKey, noMark, plain,
  831.         /* [3] */
  832.         "Cut", noIcon, "X", noMark, plain,
  833.         /* [4] */
  834.         "Copy", noIcon, "C", noMark, plain,
  835.         /* [5] */
  836.         "Paste", noIcon, "V", noMark, plain,
  837.         /* [6] */
  838.         "Clear", noIcon, "K", noMark, plain,
  839.         /* [7] */
  840.         "Select All", noIcon, "A", noMark, plain,
  841.         /* [8] */
  842.         "-", noIcon, noKey, noMark, plain,
  843.         /* [9] */
  844.         "Create Publisher…", noIcon, noKey, noMark, plain,
  845.         /* [10] */
  846.         "Subscribe To…", noIcon, noKey, noMark, plain,
  847.         /* [11] */
  848.         "Section Options…", noIcon, noKey, noMark, plain,
  849.         /* [12] */
  850.         "Show Borders", noIcon, noKey, noMark, plain,
  851.     }
  852. };
  853.  
  854. resource 'MENU' (mSize, preload) {
  855.     132,
  856.     textMenuProc,
  857.     allEnabled,
  858.     enabled,
  859.     "Size",
  860.     {    /* array: 10 elements */
  861.         /* [1] */
  862.         "8", noIcon, noKey, noMark, plain,
  863.         /* [2] */
  864.         "9", noIcon, noKey, noMark, plain,
  865.         /* [3] */
  866.         "10", noIcon, noKey, noMark, plain,
  867.         /* [4] */
  868.         "12", noIcon, noKey, noMark, plain,
  869.         /* [5] */
  870.         "14", noIcon, noKey, noMark, plain,
  871.         /* [6] */
  872.         "18", noIcon, noKey, noMark, plain,
  873.         /* [7] */
  874.         "24", noIcon, noKey, noMark, plain,
  875.         /* [8] */
  876.         "36", noIcon, noKey, noMark, plain,
  877.         /* [9] */
  878.         "48", noIcon, noKey, noMark, plain,
  879.         /* [10] */
  880.         "-", noIcon, noKey, noMark, plain,
  881.         /* [11] */
  882.         "Up", noIcon, "]", noMark, plain,
  883.         /* [12] */
  884.         "Down", noIcon, "[", noMark, plain,
  885.         /* [13] */
  886.         "-", noIcon, noKey, noMark, plain,
  887.         /* [14] */
  888.         "Other…", noIcon, noKey, noMark, plain
  889.     }
  890. };
  891.  
  892. resource 'MENU' (mStyle, preload) {
  893.     133,
  894.     textMenuProc,
  895.     allEnabled,
  896.     enabled,
  897.     "Style",
  898.     {    /* array: 8 elements */
  899.         /* [1] */
  900.         "Plain Text", noIcon, "T", noMark, plain,
  901.         /* [2] */
  902.         "Bold", noIcon, "B", noMark, plain,
  903.         /* [3] */
  904.         "Italic", noIcon, "I", noMark, plain,
  905.         /* [4] */
  906.         "Underline", noIcon, "U", noMark, plain,
  907.         /* [5] */
  908.         "Outline", noIcon, noKey, noMark, plain,
  909.         /* [6] */
  910.         "Shadow", noIcon, noKey, noMark, plain,
  911.         /* [7] */
  912.         "Condense", noIcon, noKey, noMark, plain,
  913.         /* [8] */
  914.         "Extend", noIcon, noKey, noMark, plain
  915.     }
  916. };
  917.  
  918. resource 'STR#' (mFile) {
  919.     {
  920. /*  1 */    "File Handling items.",
  921.  
  922. /*  2 */    "Creates a new file.",
  923. /*  3 */    "Creates a new file.  To enable this item, choose Close from the File menu.",
  924. /*  4 */    "Opens an existing file.",
  925. /*  5 */    "Opens an existing file.  To enable this item, choose Close from the File menu.",
  926. /*  6 */    "Closes the current file.",
  927. /*  7 */    "Closes the current file.  A window must be open before this item is enabled.",
  928. /*  8 */    "Saves the current file.",
  929. /*  9 */    "Saves the current file.  The window must be titled before this is enabled.",
  930. /* 10 */    "Saves the current file under a different name.",
  931. /* 11 */    "Saves the current file under a different name.",
  932. /* 12 */    "Reverts to the last saved version of the current file.",
  933. /* 13 */    "Reverts to the last saved version of the current file.  Enabled when you make a change to the file",
  934. /* 14 */    "Sets up paper size, orientation, and other printing options.(not currently implemented)",
  935. /* 15 */    "Sets up paper size, orientation, and other printing options.",
  936. /* 16 */    "Prints the text to the printer. (not currently implemented)",
  937. /* 17 */    "Prints all or part of the current file.  To enable this item, choose New or Open from the File menu.",
  938. /* 18 */    "Quit from Demo."
  939.     }
  940. };
  941.  
  942. resource 'hmnu' (mFile, "File") {
  943.     HelpMgrVersion,                    /* Help Version                            */
  944.     0,                                /* options                                */
  945.     0,                                /* theProc                                */
  946.     0,                                /* variant                                */
  947.     HMSkipItem {                    /* skip missing msg                        */
  948.         },
  949.     {
  950.         /* File */
  951.         HMStringResItem {
  952.             mFile,1,                /* menu title message                    */
  953.             mFile,1,                /* disabled title message                */
  954.             mFile,0,                /* reserved message                        */
  955.             mFile,0                    /* reserved message                        */
  956.         },
  957.  
  958.         /* New */
  959.         HMStringResItem {
  960.             mFile,2,                /* menu item message                    */
  961.             mFile,3,                /* disabled item message                */
  962.             mFile,0,                /* reserved message                        */
  963.             mFile,0                    /* reserved message                        */
  964.         },
  965.  
  966.         /* Open */
  967.         HMStringResItem {
  968.             mFile,4,                /* menu item message                    */
  969.             mFile,5,                /* disabled item message                */
  970.             mFile,0,                /* reserved message                        */
  971.             mFile,0                    /* reserved message                        */
  972.         },
  973.  
  974.         /* Disabled Line */
  975.         HMSkipItem {                /* skip missing msg                        */
  976.         },
  977.  
  978.         /* Close */
  979.         HMStringResItem {
  980.             mFile,6,                /* menu item message                    */
  981.             mFile,7,                /* disabled item message                */
  982.             mFile,0,                /* reserved message                        */
  983.             mFile,0                    /* reserved message                        */
  984.         },
  985.  
  986.         /* Save */
  987.         HMStringResItem {
  988.             mFile,8,                /* menu item message                    */
  989.             mFile,9,                /* disabled item message                */
  990.             mFile,0,                /* reserved message                        */
  991.             mFile,0                    /* reserved message                        */
  992.         },
  993.  
  994.         /* Save As… */
  995.         HMStringResItem {
  996.             mFile,10,                /* menu item message                    */
  997.             mFile,11,                /* disabled item message                */
  998.             mFile,0,                /* reserved message                        */
  999.             mFile,0                    /* reserved message                        */
  1000.         },
  1001.  
  1002.         /* Revert */
  1003.         HMStringResItem {
  1004.             mFile,12,                /* menu item message                    */
  1005.             mFile,13,                /* disabled item message                */
  1006.             mFile,0,                /* reserved message                        */
  1007.             mFile,0                    /* reserved message                        */
  1008.         },
  1009.  
  1010.         /* Disabled Line */
  1011.         HMSkipItem {                /* skip missing msg                        */
  1012.         },
  1013.  
  1014.         /* Page Setup… */
  1015.         HMStringResItem {
  1016.             mFile,14,                /* menu item message                    */
  1017.             mFile,15,                /* disabled item message                */
  1018.             mFile,0,                /* reserved message                        */
  1019.             mFile,0                    /* reserved message                        */
  1020.         },
  1021.  
  1022.         /* Print */
  1023.         HMStringResItem {
  1024.             mFile,16,                /* menu item message                    */
  1025.             mFile,17,                /* disabled item message                */
  1026.             mFile,0,                /* reserved message                        */
  1027.             mFile,0                    /* reserved message                        */
  1028.         },
  1029.  
  1030.         /* Disabled Line */
  1031.         HMSkipItem {                /* skip missing msg                        */
  1032.         },
  1033.  
  1034.         /* Quit */
  1035.         HMStringResItem {
  1036.             mFile,18,                /* menu item message                    */
  1037.             mFile,0,                /* disabled item message                */
  1038.             mFile,0,                /* reserved message                        */
  1039.             mFile,0                    /* reserved message                        */
  1040.         }
  1041.     }
  1042. };
  1043.  
  1044. resource 'STR#' (mEdit) {
  1045.     {
  1046. /*  1 */    "Editing Items.",
  1047.  
  1048. /*  2 */    "Restore the document to the state it was before the last action.",
  1049. /*  3 */    "Restore the document to the state it was before the last action. (Not currently implemented)",
  1050. /*  4 */    "Delete the current text selection and copy it to the clipboard.",
  1051. /*  5 */    "Delete the current text selection and copy it to the clipboard. Select some text to enable this item.",
  1052. /*  6 */    "Copy the current text selection to the clipboard.",
  1053. /*  7 */    "Copy the current text selection to the clipboard. Select some text to enable this item.",
  1054. /*  8 */    "Take the text from the clipboard and add it at the current insertion point.",
  1055. /*  9 */    "Take the text from the clipboard and add it at the current insertion point. This item is enabled when there is some text on the clipboard",
  1056. /* 10 */    "Delete the currently selected text.",
  1057. /* 11 */    "Delete the currently selected text.  Select some text to enable this item.",
  1058. /* 12 */    "Select all the text in the document.",
  1059. /* 13 */    "Select all the text in this document.  This item is enabled when a window is open.",
  1060. /* 14 */    "Display the Create Publisher dialog to publish the selected text.",
  1061. /* 15 */    "Publish selected text. Select some text to enable this item.",
  1062. /* 16 */    "Put up the Subscriber dialog Subscribe to a Published section of text.",
  1063. /* 17 */    "Put up the Subscriber dialog Subscribe to a Published section of text.  Enabled when no publisher is selected.",
  1064. /* 18 */    "Display the Section Options dialog for a Publisher or Subscriber.",
  1065. /* 19 */    "Display the Section Options dialog for a Publisher or Subscriber.  Select a Publisher or Subscriber to enable this item.",
  1066. /* 20 */    "Show/Hide the all the Publisher or Subscriber borders"
  1067.     }
  1068. };
  1069.  
  1070.  
  1071.  
  1072. resource 'hmnu' (mEdit, "Edit") {
  1073.     HelpMgrVersion,                    /* Help Version                            */
  1074.     0,                                /* options                                */
  1075.     0,                                /* theProc                                */
  1076.     0,                                /* variant                                */
  1077.     HMSkipItem {                    /* skip missing msg                        */
  1078.         },
  1079.     {
  1080.         /* edit */
  1081.         HMStringResItem {
  1082.             mEdit,1,                /* menu title message                    */
  1083.             mEdit,1,                /* disabled title message                */
  1084.             mEdit,0,                /* reserved message                        */
  1085.             mEdit,0                    /* reserved message                        */
  1086.         },
  1087.  
  1088.         /* Undo */
  1089.         HMStringResItem {
  1090.             mEdit,2,                /* menu item message                    */
  1091.             mEdit,3,                /* disabled item message                */
  1092.             mEdit,0,                /* reserved message                        */
  1093.             mEdit,0                    /* reserved message                        */
  1094.         },
  1095.  
  1096.         /* Disabled Item */
  1097.         HMSkipItem {                /* skip missing msg                        */
  1098.         },
  1099.  
  1100.         /* Cut */
  1101.         HMStringResItem {
  1102.             mEdit,4,                /* menu item message                    */
  1103.             mEdit,5,                /* disabled item message                */
  1104.             mEdit,0,                /* reserved message                        */
  1105.             mEdit,0                    /* reserved message                        */
  1106.         },
  1107.  
  1108.         /* Copy */
  1109.         HMStringResItem {
  1110.             mEdit,6,                /* menu item message                    */
  1111.             mEdit,7,                /* disabled item message                */
  1112.             mEdit,0,                /* reserved message                        */
  1113.             mEdit,0                    /* reserved message                        */
  1114.         },
  1115.  
  1116.         /* Paste */
  1117.         HMStringResItem {
  1118.             mEdit,8,                /* menu item message                    */
  1119.             mEdit,9,                /* disabled item message                */
  1120.             mEdit,0,                /* reserved message                        */
  1121.             mEdit,0                    /* reserved message                        */
  1122.         },
  1123.  
  1124.         /* Clear */
  1125.         HMStringResItem {
  1126.             mEdit,10,                /* menu item message                    */
  1127.             mEdit,11,                /* disabled item message                */
  1128.             mEdit,0,                /* reserved message                        */
  1129.             mEdit,0                    /* reserved message                        */
  1130.         },
  1131.  
  1132.         /* Select All */
  1133.         HMStringResItem {
  1134.             mEdit,12,                /* menu item message                    */
  1135.             mEdit,13,                /* disabled item message                */
  1136.             mEdit,0,                /* reserved message                        */
  1137.             mEdit,0                    /* reserved message                        */
  1138.         },    
  1139.         
  1140.         /* Disabled Line */
  1141.         HMSkipItem {                /* skip missing msg                        */
  1142.         },
  1143.  
  1144.         
  1145.         /* Create Publisher*/
  1146.         HMStringResItem {
  1147.             mEdit,14,                /* menu item message                    */
  1148.             mEdit,15,                /* disabled item message                */
  1149.             mEdit,0,                /* reserved message                        */
  1150.             mEdit,0                    /* reserved message                        */
  1151.         },    
  1152.         
  1153.         /* Subscribe To..*/
  1154.         HMStringResItem {
  1155.             mEdit,16,                /* menu item message                    */
  1156.             mEdit,17,                /* disabled item message                */
  1157.             mEdit,0,                /* reserved message                        */
  1158.             mEdit,0                    /* reserved message                        */
  1159.         },    
  1160.         
  1161.         /* Section Options*/
  1162.         HMStringResItem {
  1163.             mEdit,18,                /* menu item message                    */
  1164.             mEdit,19,                /* disabled item message                */
  1165.             mEdit,0,                /* reserved message                        */
  1166.             mEdit,0                    /* reserved message                        */
  1167.         },    
  1168.         
  1169.         /* Show/Hide borders*/
  1170.         HMStringResItem {
  1171.             mEdit,20,                /* menu item message                    */
  1172.             mEdit,20,                /* disabled item message                */
  1173.             mEdit,0,                /* reserved message                        */
  1174.             mEdit,0                    /* reserved message                        */
  1175.         },    
  1176.    }
  1177. };
  1178.  
  1179. resource 'STR#' (mFont) {
  1180.     {
  1181. /*  1 */    "Change the text font the one you want by selecting that Font from this menu."
  1182.     }
  1183. };
  1184.  
  1185.  
  1186. resource 'hmnu' (mFont, "Font") {
  1187.     HelpMgrVersion,                    /* Help Version                            */
  1188.     0,                                /* options                                */
  1189.     0,                                /* theProc                                */
  1190.     0,                                /* variant                                */
  1191.     HMSkipItem {                    /* skip missing msg                        */
  1192.         },
  1193.     {
  1194.         /* Font */
  1195.         HMStringResItem {
  1196.             mFont,1,                /* menu title message                    */
  1197.             mFont,1,                /* disabled title message                */
  1198.             mFont,0,                /* reserved message                        */
  1199.             mFont,0                    /* reserved message                        */
  1200.         }
  1201.     }
  1202. };
  1203.  
  1204.  
  1205. resource 'STR#' (mSize) {
  1206.     {
  1207. /*  1 */    "Change the size of the text by choosing the new size from this menu.  The size menus are outlined for TrueType fonts."
  1208.     }
  1209. };
  1210.  
  1211.  
  1212. resource 'hmnu' (mSize, "Size") {
  1213.     HelpMgrVersion,                    /* Help Version                            */
  1214.     0,                                /* options                                */
  1215.     0,                                /* theProc                                */
  1216.     0,                                /* variant                                */
  1217.     HMSkipItem {                    /* skip missing msg                        */
  1218.         },
  1219.     {
  1220.         /* Font */
  1221.         HMStringResItem {
  1222.             mSize,1,                /* menu title message                    */
  1223.             mSize,1,                /* disabled title message                */
  1224.             mSize,0,                /* reserved message                        */
  1225.             mSize,0                    /* reserved message                        */
  1226.         }
  1227.     }
  1228. };
  1229.  
  1230. resource 'STR#' (mStyle) {
  1231.     {
  1232. /*  1 */    "Choose the new text style from this menu"
  1233.     }
  1234. };
  1235.  
  1236.  
  1237. resource 'hmnu' (mStyle, "Style") {
  1238.     HelpMgrVersion,                    /* Help Version                            */
  1239.     0,                                /* options                                */
  1240.     0,                                /* theProc                                */
  1241.     0,                                /* variant                                */
  1242.     HMSkipItem {                    /* skip missing msg                        */
  1243.         },
  1244.     {
  1245.         /* Font */
  1246.         HMStringResItem {
  1247.             mStyle,1,                /* menu title message                    */
  1248.             mStyle,1,                /* disabled title message                */
  1249.             mStyle,0,                /* reserved message                        */
  1250.             mStyle,0                    /* reserved message                        */
  1251.         }
  1252.     }
  1253. };
  1254.  
  1255. resource 'aete' (0, "7Edit Suite") {
  1256.     0x00,
  1257.     0x01,
  1258.     english,
  1259.     roman,
  1260.     {    /* array Suites: 4 elements */
  1261.         /* [1] */
  1262.         "Core Suite",
  1263.         "Suite that applies to all applications",
  1264.         'core',
  1265.         1,
  1266.         1,
  1267.         {    /* array Events: 0 elements */
  1268.         },
  1269.         {    /* array Classes: 2 elements */
  1270.             /* [1] */
  1271.             "Window",
  1272.             'cwin',
  1273.             "A window",
  1274.             {    /* array Properties: 2 elements */
  1275.                 /* [1] */
  1276.                 "position",
  1277.                 'ppos',
  1278.                 'QDpt',
  1279.                 "the position of a window",
  1280.                 reserved,
  1281.                 singleItem,
  1282.                 notEnumerated,
  1283.                 readWrite,
  1284.                 reserved,
  1285.                 reserved,
  1286.                 reserved,
  1287.                 reserved,
  1288.                 reserved,
  1289.                 reserved,
  1290.                 reserved,
  1291.                 reserved,
  1292.                 reserved,
  1293.                 reserved,
  1294.                 reserved,
  1295.                 reserved,
  1296.                 /* [2] */
  1297.                 "Text",
  1298.                 'TEXT',
  1299.                 'ctxt',
  1300.                 "The title of the window",
  1301.                 reserved,
  1302.                 singleItem,
  1303.                 notEnumerated,
  1304.                 readWrite,
  1305.                 reserved,
  1306.                 reserved,
  1307.                 reserved,
  1308.                 reserved,
  1309.                 reserved,
  1310.                 reserved,
  1311.                 reserved,
  1312.                 reserved,
  1313.                 reserved,
  1314.                 reserved,
  1315.                 reserved,
  1316.                 reserved,
  1317.                 /* [3] */
  1318.                 "Page Setup",
  1319.                 'PSET',
  1320.                 'TPNT',
  1321.                 "The Page Setup of the window",
  1322.                 reserved,
  1323.                 singleItem,
  1324.                 notEnumerated,
  1325.                 readWrite,
  1326.                 reserved,
  1327.                 reserved,
  1328.                 reserved,
  1329.                 reserved,
  1330.                 reserved,
  1331.                 reserved,
  1332.                 reserved,
  1333.                 reserved,
  1334.                 reserved,
  1335.                 reserved,
  1336.                 reserved,
  1337.                 reserved,
  1338.                 /* [4] */
  1339.                 "Show Borders",
  1340.                 'PBOR',
  1341.                 'cboo',
  1342.                 "The Show Borders of the window",
  1343.                 reserved,
  1344.                 singleItem,
  1345.                 notEnumerated,
  1346.                 readWrite,
  1347.                 reserved,
  1348.                 reserved,
  1349.                 reserved,
  1350.                 reserved,
  1351.                 reserved,
  1352.                 reserved,
  1353.                 reserved,
  1354.                 reserved,
  1355.                 reserved,
  1356.                 reserved,
  1357.                 reserved,
  1358.                 reserved
  1359.             },
  1360.             {    /* array Elements: 4 elements */
  1361.                 /* [1] */
  1362.                 'cha ',
  1363.                 {    /* array KeyForms: 1 elements */
  1364.                     /* [1] */
  1365.                     formAbsolutePosition
  1366.                 },
  1367.                 /* [2] */
  1368.                 'cwor',
  1369.                 {    /* array KeyForms: 1 elements */
  1370.                     /* [1] */
  1371.                     formAbsolutePosition
  1372.                 },
  1373.                 /* [3] */
  1374.                 'clin',
  1375.                 {    /* array KeyForms: 1 elements */
  1376.                     /* [1] */
  1377.                     formAbsolutePosition
  1378.                 },
  1379.                 /* [4] */
  1380.                 'citm',
  1381.                 {    /* array KeyForms: 1 elements */
  1382.                     /* [1] */
  1383.                     formAbsolutePosition
  1384.                 }
  1385.             },
  1386.             /* [2] */
  1387.             "Spot",
  1388.             'cspt',
  1389.             "A position where an insertion point can go",
  1390.             {    /* array Properties: 7 elements */
  1391.                 /* [1] */
  1392.                 "Class",
  1393.                 'pcls',
  1394.                 'cnum',
  1395.                 "The class",
  1396.                 reserved,
  1397.                 singleItem,
  1398.                 notEnumerated,
  1399.                 readOnly,
  1400.                 reserved,
  1401.                 reserved,
  1402.                 reserved,
  1403.                 reserved,
  1404.                 reserved,
  1405.                 reserved,
  1406.                 reserved,
  1407.                 reserved,
  1408.                 reserved,
  1409.                 reserved,
  1410.                 reserved,
  1411.                 reserved,
  1412.                 /* [2] */
  1413.                 "Font",
  1414.                 'font',
  1415.                 'TEXT',
  1416.                 "Font of the first character of the text",
  1417.                 reserved,
  1418.                 singleItem,
  1419.                 notEnumerated,
  1420.                 readWrite,
  1421.                 reserved,
  1422.                 reserved,
  1423.                 reserved,
  1424.                 reserved,
  1425.                 reserved,
  1426.                 reserved,
  1427.                 reserved,
  1428.                 reserved,
  1429.                 reserved,
  1430.                 reserved,
  1431.                 reserved,
  1432.                 reserved,
  1433.                 /* [3] */
  1434.                 "Style",
  1435.                 'styl',
  1436.                 'enum',
  1437.                 "Style of the first character of the text",
  1438.                 reserved,
  1439.                 listOfItems,
  1440.                 notEnumerated,
  1441.                 readWrite,
  1442.                 reserved,
  1443.                 reserved,
  1444.                 reserved,
  1445.                 reserved,
  1446.                 reserved,
  1447.                 reserved,
  1448.                 reserved,
  1449.                 reserved,
  1450.                 reserved,
  1451.                 reserved,
  1452.                 reserved,
  1453.                 reserved,
  1454.                 /* [4] */
  1455.                 "Color",
  1456.                 'colr',
  1457.                 'cRGB',
  1458.                 "Color of the first character of the text",
  1459.                 reserved,
  1460.                 singleItem,
  1461.                 notEnumerated,
  1462.                 readWrite,
  1463.                 reserved,
  1464.                 reserved,
  1465.                 reserved,
  1466.                 reserved,
  1467.                 reserved,
  1468.                 reserved,
  1469.                 reserved,
  1470.                 reserved,
  1471.                 reserved,
  1472.                 reserved,
  1473.                 reserved,
  1474.                 reserved,
  1475.                 /* [5] */
  1476.                 "Size",
  1477.                 'ptsz',
  1478.                 'cf16',
  1479.                 "Size of the first character of the text",
  1480.                 reserved,
  1481.                 singleItem,
  1482.                 notEnumerated,
  1483.                 readWrite,
  1484.                 reserved,
  1485.                 reserved,
  1486.                 reserved,
  1487.                 reserved,
  1488.                 reserved,
  1489.                 reserved,
  1490.                 reserved,
  1491.                 reserved,
  1492.                 reserved,
  1493.                 reserved,
  1494.                 reserved,
  1495.                 reserved,
  1496.                 /* [6] */
  1497.                 "Script System Number",
  1498.                 'psct',
  1499.                 'cint',
  1500.                 "The number which indicates the script system of the first character of the text",
  1501.                 reserved,
  1502.                 singleItem,
  1503.                 notEnumerated,
  1504.                 readOnly,
  1505.                 reserved,
  1506.                 reserved,
  1507.                 reserved,
  1508.                 reserved,
  1509.                 reserved,
  1510.                 reserved,
  1511.                 reserved,
  1512.                 reserved,
  1513.                 reserved,
  1514.                 reserved,
  1515.                 reserved,
  1516.                 reserved,
  1517.                 /* [7] */
  1518.                 "Width",
  1519.                 'pwid',
  1520.                 'cf16',
  1521.                 "Width of the text in points",
  1522.                 reserved,
  1523.                 singleItem,
  1524.                 notEnumerated,
  1525.                 readOnly,
  1526.                 reserved,
  1527.                 reserved,
  1528.                 reserved,
  1529.                 reserved,
  1530.                 reserved,
  1531.                 reserved,
  1532.                 reserved,
  1533.                 reserved,
  1534.                 reserved,
  1535.                 reserved,
  1536.                 reserved,
  1537.                 reserved
  1538.             },
  1539.             {    /* array Elements: 0 elements */
  1540.             }
  1541.         },
  1542.         {    /* array ComparisonOps: 0 elements */
  1543.         },
  1544.         {    /* array Enumerations: 0 elements */
  1545.         },
  1546.         /* [2] */
  1547.         "Required Suite",
  1548.         "Events that every application should support",
  1549.         'reqd',
  1550.         1,
  1551.         1,
  1552.         {    /* array Events: 1 elements */
  1553.             /* [1] */
  1554.             "Quit Application",
  1555.             "Quit application",
  1556.             'aevt',
  1557.             'quit',
  1558.             noReply,
  1559.             "",
  1560.             replyOptional,
  1561.             singleItem,
  1562.             notEnumerated,
  1563.             reserved,
  1564.             reserved,
  1565.             reserved,
  1566.             reserved,
  1567.             reserved,
  1568.             reserved,
  1569.             reserved,
  1570.             reserved,
  1571.             reserved,
  1572.             reserved,
  1573.             reserved,
  1574.             reserved,
  1575.             reserved,
  1576.             noParams,
  1577.             "No direct parameter required",
  1578.             directParamOptional,
  1579.             singleItem,
  1580.             notEnumerated,
  1581.             changesState,
  1582.             reserved,
  1583.             reserved,
  1584.             reserved,
  1585.             reserved,
  1586.             reserved,
  1587.             reserved,
  1588.             reserved,
  1589.             reserved,
  1590.             reserved,
  1591.             reserved,
  1592.             reserved,
  1593.             reserved,
  1594.             {    /* array OtherParams: 1 elements */
  1595.                 /* [1] */
  1596.                 "save",
  1597.                 'savo',
  1598.                 'savo',
  1599.                 "if true, save all windows without asking user, if false, don't save.",
  1600.                 optional,
  1601.                 singleItem,
  1602.                 enumerated,
  1603.                 reserved,
  1604.                 reserved,
  1605.                 reserved,
  1606.                 reserved,
  1607.                 reserved,
  1608.                 reserved,
  1609.                 reserved,
  1610.                 reserved,
  1611.                 reserved,
  1612.                 reserved,
  1613.                 reserved,
  1614.                 reserved,
  1615.                 reserved
  1616.             }
  1617.         },
  1618.         {    /* array Classes: 0 elements */
  1619.         },
  1620.         {    /* array ComparisonOps: 0 elements */
  1621.         },
  1622.         {    /* array Enumerations: 0 elements */
  1623.         },
  1624.         /* [3] */
  1625.         "Misc Standard Suite",
  1626.         "",
  1627.         'misc',
  1628.         1,
  1629.         1,
  1630.         {    /* array Events: 1 elements */
  1631.             /* [1] */
  1632.             "Bring an object into view",
  1633.             "Show",
  1634.             'misc',
  1635.             'mvis',
  1636.             noReply,
  1637.             "",
  1638.             replyRequired,
  1639.             singleItem,
  1640.             notEnumerated,
  1641.             reserved,
  1642.             reserved,
  1643.             reserved,
  1644.             reserved,
  1645.             reserved,
  1646.             reserved,
  1647.             reserved,
  1648.             reserved,
  1649.             reserved,
  1650.             reserved,
  1651.             reserved,
  1652.             reserved,
  1653.             reserved,
  1654.             'obj ',
  1655.             "",
  1656.             directParamOptional,
  1657.             singleItem,
  1658.             notEnumerated,
  1659.             changesState,
  1660.             reserved,
  1661.             reserved,
  1662.             reserved,
  1663.             reserved,
  1664.             reserved,
  1665.             reserved,
  1666.             reserved,
  1667.             reserved,
  1668.             reserved,
  1669.             reserved,
  1670.             reserved,
  1671.             reserved,
  1672.             {    /* array OtherParams: 0 elements */
  1673.             }
  1674.         },
  1675.         {    /* array Classes: 0 elements */
  1676.         },
  1677.         {    /* array ComparisonOps: 0 elements */
  1678.         },
  1679.         {    /* array Enumerations: 0 elements */
  1680.         },
  1681.         /* [4] */
  1682.         "Text Suite",
  1683.         "A set of basic classes for text processing",
  1684.         'TEXT',
  1685.         1,
  1686.         1,
  1687.         {    /* array Events: 1 elements */
  1688.             /* [1] */
  1689.             /* [2] */
  1690.             "Close",
  1691.             "Close an object",
  1692.             kAECoreSuite,
  1693.             kAEClose,
  1694.             noReply,
  1695.             "",
  1696.             replyOptional,
  1697.             singleItem,
  1698.             notEnumerated,
  1699.             reserved,
  1700.             reserved,
  1701.             reserved,
  1702.             reserved,
  1703.             reserved,
  1704.             reserved,
  1705.             reserved,
  1706.             reserved,
  1707.             reserved,
  1708.             reserved,
  1709.             reserved,
  1710.             reserved,
  1711.             reserved,
  1712.             typeObjectSpecifier,
  1713.             "The object to close",
  1714.             directParamRequired,
  1715.             singleItem,
  1716.             notEnumerated,
  1717.             changesState,
  1718.             reserved,
  1719.             reserved,
  1720.             reserved,
  1721.             reserved,
  1722.             reserved,
  1723.             reserved,
  1724.             reserved,
  1725.             reserved,
  1726.             reserved,
  1727.             reserved,
  1728.             reserved,
  1729.             reserved,
  1730.             {    /* array OtherParams: 2 elements */
  1731.                 /* [1] */
  1732.                 "Save",
  1733.                 keyAESaveOptions,
  1734.                 enumSaveOptions,
  1735.                 "Specifies whether or not changes should be saved before closing",
  1736.                 optional,
  1737.                 singleItem,
  1738.                 enumerated,
  1739.                 reserved,
  1740.                 reserved,
  1741.                 reserved,
  1742.                 reserved,
  1743.                 reserved,
  1744.                 reserved,
  1745.                 reserved,
  1746.                 reserved,
  1747.                 reserved,
  1748.                 reserved,
  1749.                 reserved,
  1750.                 reserved,
  1751.                 reserved
  1752.             }
  1753.         },
  1754.         {    /* array Classes: 0 elements */
  1755.         },
  1756.         {    /* array ComparisonOps: 0 elements */
  1757.         },
  1758.         {    /* array Enumerations: 0 elements */
  1759.         }
  1760.     }
  1761. };
  1762.  
  1763.  
  1764.